package fun.tan90.easy.binlog.manager.model.cmd;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 实例CPU指标历史信息 实体类。
 *
 * @author 陈浩杰
 * @since 2023-10-31
 */
@Data
public class MetricCpuQueryCmd {

    /**
     * 实例ID
     */
    @NotNull
    @NotBlank
    private String workId;

    @NotNull
    private Date startTime;

    @NotNull
    private Date endTime;
}
